﻿@using Yelper.Web
@model Yelp

<div class="yelp">
	<div class="yelpimage">
		<img src="@Url.ProfilePicture(Model.User)" alt="avater" class="image80" />
	</div>
	<div class="yelpuser">
        @Html.ActionLink("@" + Model.User.Username, "UserPage", new { username = Model.User.Username })
        <span class="yelpuserfull">
            @Model.User.FullName
	    </span>
	</div>
	<div class="yelptimestamp">
        @Html.ActionLink(Html.PrettyDate(Model.YelpDate), "Yelp", new { username = Model.User.Username, yelpid = Model.YelpId })
	</div>
	<div class="yelpcontent">
		@Html.PrettyYelp(Model.Message)
	</div>
</div>